from fastapi import FastAPI

app = FastAPI()


@app.get("/")
def http_index():
    return {"message": "This is an HTTP page (plaintext, no encryption)"}


# 运行命令：
# uvicorn http_server:app --host 0.0.0.0 --port 8080
